package com.bd.scm.dao.mapper.standardReports;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bd.scm.domain.dto.standardReports.DeptSwipingInformationSearchDto;
import com.bd.scm.domain.models.standardReports.DeptSwipingInformation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeptSwipingInformationMapper extends BaseMapper<DeptSwipingInformation> {
    /**
     * 获取班次.
     *
     * @param deptSwipingInformationSearchDto
     */
    List<JSONObject> getShiftId(DeptSwipingInformationSearchDto deptSwipingInformationSearchDto);
    /**
     * 更新表头.
     *
     * @param list
     */
    void updateTableTitle(@Param("list") List<JSONObject> list);
    /**
     * 删除表头中的班次.
     **/
    void deleteTableTitle();

    /**
     * 获取部门打卡信息列表.
     *
     * @param deptSwipingInformationSearchDto 条件
     * @return
     */
    List<JSONObject> getDeptSwipingList(@Param("deptSwiping") DeptSwipingInformationSearchDto
                                            deptSwipingInformationSearchDto);
}
